package refactor.replacesubclasswithfields.original;

public class Client {
    public void clientMethod() {
        Person tom = new Male();
        tom.isMale();
        tom.getCode();
        Person lily = new Female();
        lily.isMale();
        lily.getCode();
    }
}
